package com.joysuch.wwyt.dzhapi.req;

import cn.zlg.common.springmvc.validate.constraints.NotNull;
import com.joysuch.wwyt.bp.bean.BpCertificateListBean;
import com.joysuch.wwyt.core.bean.BaseAttachmentBean;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.util.List;

/**
 * @author: JamesZY
 * @date: 2021/8/30
 * @description:
 */
@Data
public class ApiBaseUserAddReq implements Serializable {


    private static final long serialVersionUID = -6145601102229240213L;
    // 姓名

    //    @NotBlank(message = "员工姓名不能是空")
//    @Length(max = 64,message = "姓名长度不能超过64字符")
    private String realName;


    //    @NotBlank(message = "部门不能是空")
//    @Length(max = 64,message = "部门长度不能超过64字符")
    private String depart;


    //    @NotBlank(message = "岗位不能是空")
//    @Length(max = 64,message = "岗位长度不能超过64字符")
    private String job;


    //    @NotBlank(message = "工号不能是空")
//    @Length(max = 10,message = "工号长度不能超过10字符")
    private String code;


    //    @NotBlank(message = "工作单位不能是空")
//    @Length(max = 64,message = "工作单位长度不能超过64字符")
    private String workCompany;

    //    @NotNull(message = "身份不能是空")
    private Long role;

    //    @NotBlank(message = "定位卡号不能是空")
//    @Length(max = 64,message = "定位卡号长度不能超过64字符")
    private String sn;
}
